[SOLARIS] On sysv platforms, gas defaults '/' to a comment
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Tue, 17 Oct 2006 16:29:19 +0000 (17:29 +0100)
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Tue, 17 Oct 2006 16:29:19 +0000 (17:29 +0100)
character. Pass in the right option to disable this behaviour, so
Xen's semantics of "divide" apply.

Signed-off-by: John Levon <john.levon@sun.com>
config/SunOS.mk

index e3091383425898ab54972733cbe398dd6b1a20a6..d18ad14bd9c781f9306075b3a37fe36f10ed308c 100644 (file)
@@ -32,3 +32,5 @@ else
 # Less than -O1 produces bad code and large stack frames
 CFLAGS ?= -O1 -fno-omit-frame-pointer
 endif
+
+CFLAGS += -Wa,--divide